/*
 * Drawable2DInterface.h
 *
 *  Created on: Jul 6, 2009
 *      Author: kurt
 */

#ifndef DRAWABLE2DINTERFACE_H_
#define DRAWABLE2DINTERFACE_H_

#include "DrawableInterface.h"

namespace objdraw {

class Drawable2DInterface: public objdraw::DrawableInterface 
{
	protected:
		Location end;
		virtual ~Drawable2DInterface();
	public:
		Drawable2DInterface();
		Drawable2DInterface(Drawable2DInterface const & r);
		
		virtual float getHeight();
		virtual float getWidth();
		
		virtual Location getLocation();
		
		virtual float getX();
		virtual float getY();
		
		virtual void move(float dx, float dy);
		virtual void moveTo(float x, float y);
		virtual void moveTo(Location point);
		
		virtual bool overlaps(Drawable2DInterface * item);
		virtual bool contains(Location point);
		virtual std::string toString();
};

}

#endif /* DRAWABLE2DINTERFACE_H_ */
